<h1>Détail de la phase</h1>

Tâches de la phase :

<table>
	<thead>
		<tr>
			<th>Plnphs ordre</th>
			<th>Plnphs libelle</th>
			<th>Plnphs date debut</th>
			<th>Plnphs date echeance</th>
			<th>Plnphs date fin</th>
			<th>Plnphs charge estimee</th>
			<th>Plnphs charge consommee</th>
			<th>Plnphs charge restante</th>
			<th>Plnphs termine</th>
		</tr>
	</thead>
	<tbody>
		<?php foreach ($planning_phase->getTachesPlanning() as $tache): ?>
		<tr>
			<td><?php echo $tache->getPlntacLibelle() ?></td>
		</tr>
		<?php endforeach; ?>
	</tbody>
</table>

<?php 
	if (count($planning_phase->getTachesPlanning()) == 0) {
		echo link_to('Supprimer', 'planning_phase/delete?plnphs_id='.$planning_phase->getPlnphsId(), array('method' => 'delete', 'confirm' => 'Etes-vous sûr ?')) .' &nbsp; ';
	}
?>

<?php echo link_to('Nouvelle tâche', 'planning_tache/new?phs_id='.$planning_phase->getPlnphsId()) ?>
